* {
    padding: 0;
    margin: 0;
    border: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    /* T-Systems.ru font */
    font-family: Arial, Helvetica, sans-serif;
}

a:link, a:visited, a:hover, a:active
{
    color: #333;
    text-decoration: none;
}

body {
    margin:0px;
    padding:0px;
    height:100%;
    overflow:hidden;
    background-color: #e5e5e5;
}

.page {
    min-height:100%;
    position:relative;
}

.span200
{
    width: 200px;
}

.span725
{
    width: 725px;
}


.float-left
{
    float: left;
}

.navi-and-content
{
    margin-left: auto;
    margin-right: auto;
    width: 940px;

}

.margin-left-top-15
{
    margin-left: 15px;
    margin-top: 15px;

}

#navigation-container
{
    width: 200px;
    margin-top: 15px;
}

[class*="icon"]
{
    background-position: 0px 0px;
    background-repeat: no-repeat;
    height: 36px;
    width: 36px;
    margin: 2px;
    display: inline-block;
}

.user-icon
{
    background-image: url("/images/user-icon.png");

}

.menu-items
{
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    background-color: white;
    width: 200px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-family: Geneva, Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: #333;
}

.menu-items>li
{
    height: 40px;
    line-height: 40px;
    overflow: hidden;
    width: 200px;

}

.menu-items>li>a
{
    text-decoration: none;

    height: 40px;
    line-height: 40px;
    display: block;
    vertical-align: top;
}

.t-button {
    padding: 5px;

    transition: all 0.3s ease 0s;
}

.t-button:hover {
    background: #E7137F;
    color: #FFF;
    cursor: pointer;
}

a.t-a-button {
    padding: 5px;
}
a.t-a-button:hover {
    cursor: pointer;
    background: #E7137F;
    color: #fff;
}


.menu-head
{
    border-bottom: 5px solid #979691;
    height: 45px; !important;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background: #E7137F;
    padding-left: 5px;
}

.post_row {
    position: relative;
    margin-top: 20px;
}
.message {
    display: flex;
    flex-direction: column;
    /*position: relative;*/
    margin-bottom: 20px;
}

.message > p {
    padding: 7px 10px;
    background-color: #EEE;
    border-left: 5px solid #ccc;
}
.message > a {
    padding-bottom: 5px;
}
.message > img.picture {
    align-self: flex-start;
}
.message .controls {
    display: flex;
}
.message .controls > img {
    cursor: pointer;
    padding: 5px;
    opacity: 0.5;
    transition: all 0.3s ease 0s;
}
.message .controls > img:hover {
    opacity: 1;
}

.del_post_wrapper
{
    position: absolute;
    opacity: 0.6;
    right: 10px;
    top: 10px;
}

.del_post_wrapper:hover
{
    opacity: 0.3;
}

.del_post
{
    cursor: pointer;
    background: url(/images/delete_sign-26.png) no-repeat;
    height: 32px;
    width: 32px;

}

.comment_post_wrapper
{
    position: absolute;
    opacity: 0.6;
    right: 50px;
    top: 10px;
}

.comment_post
{
    cursor: pointer;
    background: url(/images/chat-26.png) no-repeat;
    height: 32px;
    width: 32px;

}

.comment_post_wrapper:hover
{
    opacity: 0.3;
}

.post_table
{
    border: 3px solid white;
    border-radius: 5px;
    background-color: white;
    padding: 5px;
    width: 80%;
}

.username_col
{
    width:100px;
    border-right: 3px solid #979691;
}

.post_col
{
    padding-left: 6px;
}

.comment_table
{
    margin-left: 60px;
    margin-top: 10px;
}

.ui-dialog
{
    position:fixed; !important;
}

.clearfix {
    *zoom:1;
}

.well
{
    margin: 0 auto;
    background-color: #979691;
    width: 300px;
    border-radius: 5px;
    padding: 10px;
}

.well p
{
    margin: 4px 0px;
    overflow: auto;
    *zoom:1;
}

.well a:hover
{
    text-decoration: underline;
}


.login-user-icon
{
    background-image: url("/images/user-icon.png");
    background-color: white;
    float: left;
    border-radius: 5px 0px 0px 5px;
    margin: 0px;
    background-repeat: no-repeat;
    background-position: 4px 4px;
    height: 40px;
    width:40px;
}

.login-password-icon
{
    background-image: url("/images/password.png");
    background-color: white;
    float: left;
    border-radius: 5px 0px 0px 5px;
    margin: 0px;
    background-repeat: no-repeat;
    background-position: 4px 4px;
    height:40px;
    width:40px;
}

.well form input
{
    height:40px;
    font-size: 16px;

}

.well form input[type="text"], input[type="password"]
{
    width: 230px;
    border-radius: 0px 5px 5px 0px;
    background-color: white;
    padding: 0 16px;

}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}

input[type="submit"]
{
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;

    background-color: #efefef;
    font-weight: bold;
    padding: 5px 10px;
}

input[type="submit"]:hover
{
    background-color: #E7137F;
}

.register
{
    text-align: right;
    padding-right: 15px;
}

.header-container {
    width:100%;
    height:60px;
    text-align:center;
    background-color: white;
    padding: 10px;
}

.content {
    border: 1px solid #ccc;
    padding:10px;
    padding-bottom:20px; /* Height of the footer element */
    overflow:hidden;
    margin-left: auto;
    margin-right:auto;
    background-color: white;
}

.footer-container {
    clear:both;
    position:absolute;
    bottom:0;
    left:0;
    text-align:center;
    width:100%;
    height:20px;
    background-color: #333;
}

.send_message {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.send_message textarea {
    resize: none;
    padding: 5px;
    border: 1px solid #ccc;
    align-self: stretch;
}

/*textarea
{
    width: 100%;
    border-radius: 5px 5px 5px 5px;
    background-color: white;
    padding: 16px;
}*/

.ui-widget-header {
    border: 0px !important;
    background: #E7137F !important;
}

#authentication_container {
    background-color: #fff;
    display: flex;
    justify-content: flex-end;
}
#nav_and_body_container {
    margin-top: 10px;
    display: flex
}
#nav_and_body_container>nav {
    flex-basis: 100px;
    margin: 10px;
    display: flex;
    flex-direction: column;
}
#nav_and_body_container>div {
    flex-grow: 1;
    margin: 0 10px;
    flex-basis: 40px;
}


#articles a {
    font-size: 30px;
    padding-right: 30px;
    color: red;
}

#articles a.articleTitle {
    display: block;
    border-bottom: 1px solid #AAA;
}

#articles a:hover, #article a:active {
    color: black;
    text-decoration: underline;
}

#articles a:link, #articles a:visited {text-decoration: none;}

#articles .external-link{
    background: url("/images/external_link.png") no-repeat left top;
    padding-left: 30px;
}

#articles a.tooltip {
    position: relative;
}

#articles a.tooltip span {
    display:none;
}

#articles a.tooltip:hover span {
    position:absolute;
    display:block;
    left: 1em;
    top: 50%;
    padding: 0.2em 0.6em;
    border:1px solid #996633;
    background-color:#FFFF66;
    color:#000;
    font-size: 14px;
}

#articles #top-list{
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

#articles #top-list li {
    background: url("/images/bullet.png") no-repeat 0 50%;
    padding-left:30px;
}

#articles table {
    border-collapse: collapse;
    width:400px;
    border: 1px solid grey;
}

#articles th, #articles td {
    padding: 3px;
    text-align: left;
    border: 1px solid black;
}

#articles caption {
    font-size: 1.2em;
    font-weight: bold;
    margin: 1em 0;
}

#articles col {
    border-right: 1px solid #ccc;
}

#articles #safetyCol {
    border: none;
}

#articles pre {
    padding: 10px;
    border: 1px solid black;
    background-color: grey;
    margin: 20px 40px;
    position: relative;
}

#articles pre span {
    position:absolute;
    top:5px;
    right:5px;
    font-size: 1.2em;
    font-weight: bold;
    background-color: green;
    border-radius: 3px;
    padding:3px;
}

#articles .yes {
    background-color: green;
}

#articles .no {
    background-color: red;
}

#articles fieldset {
    margin: 5px 0;
    padding: 5px;
    border: 0px;
    background-color: #AAA;
    width: 400px;
    position: relative;
    left: 50%;
    margin-left: -200px;
}

#articles #articleProps div{
    float:left;
}

#articles .clear {
    clear:both;
}

#articles #wrapper{
    width:700px;
}

#articles #top{
    background-color: red;
    min-height:200px;
}

#articles #left{
    width:200px;
    min-height:200px;
    float: left;
    background-color: blue;
}

#articles #right{
    width: 500px;
    min-height:200px;
    float: right;
    background-color: green;
}

#articles #bottom{
    clear: both;
    background-color: yellow;
    min-height:200px;
}

#articles #fluid_wrapper{
    width:85%;
}

#articles #fluid_top{
    background-color: red;
    min-height:200px;
}

#articles #fluid_left{
    width:25%;
    min-height:200px;
    float: left;
    background-color: blue;
}

#articles #fluid_right{
    width: 75%;
    min-height:200px;
    float: right;
    background-color: green;
}

#articles #fluid_bottom{
    clear: both;
    background-color: yellow;
    min-height:200px;
}

#articles #elastic_wrapper{
    font-size: 62.5%;
    width: 72em;
    margin: 0 auto;
    text-align: left;
}

#articles #elastic_top{
    background-color: red;
    min-height:200px;
}

#articles #elastic_left{
    width: 20em;
    min-height:200px;
    float: left;
    background-color: blue;
}

#articles #elastic_right{
    width: 52em;
    min-height:200px;
    float: right;
    background-color: green;
}

#articles #elastic_bottom{
    clear: both;
    background-color: yellow;
    min-height:200px;
}

.font_small {
    font-size: 11px;
}
.font_medium {
    font-size: 14px;
}
.font_big {
    font-size: 18px;
}
.bold {
    font-weight: bold;
}
.underlined {
    text-decoration: underline;
}